package com.study.bookstore.service;

import com.study.bookstore.domain.UserAddress;
import java.util.List;

/**
 * Service Interface for managing UserAddress.
 */
public interface UserAddressService {

    /**
     * Save a userAddress.
     *
     * @param userAddress the entity to save
     * @return the persisted entity
     */
    UserAddress save(UserAddress userAddress);

    /**
     * Get all the userAddresses.
     *
     * @return the list of entities
     */
    List<UserAddress> findAll();

    /**
     * Get the "id" userAddress.
     *
     * @param id the id of the entity
     * @return the entity
     */
    UserAddress findOne(Long id);

    /**
     * Delete the "id" userAddress.
     *
     * @param id the id of the entity
     */
    void delete(Long id);
}
